<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title></title>
<#include "/jeecms_sys/head.html"/> 
<script type="text/javascript">
function getTableForm() {
	return document.getElementById('queryForm');
}

function exportExcel(){
	var formObj = getTableForm();
	formObj.action = "v_excel_score_report_list.do";
	formObj.submit();
}
</script>
</head>
<body>
<div class="box-positon">
	<div class="rpos"><@s.m "global.position"/>:  积分汇总报表  - <@s.m "global.list"/></div>
	<form class="ropt">
	</form>
	<div class="clear"></div>
</div>
<div class="body-box">
<form action="to_score_report_view.do" method="post" style="padding-top:5px;" id="queryForm" >
<div>
用户名称：<input type="text" name="userName" value="${userName!}" style="width:100px"/>
手机号 ：<input type="text" name="mobile" value="${mobile!}" style="width:100px"/>
截止日期：<input type="text" name="endTime" value="${endTime!}" onclick="WdatePicker({dateFmt:'yyyy-MM-dd'})" class="Wdate"/>
转介人名称：<input type="text" name="zhuanUserName" value="${zhuanUserName!}" style="width:100px"/>
转介人手机号 ：<input type="text" name="zhuanMobile" value="${zhuanMobile!}" style="width:100px"/>
<input class="query" type="submit" value="<@s.m "global.query"/>"/> 
&nbsp;&nbsp;&nbsp;
<input  type="button" value="导出excel" onclick="exportExcel()"/>
</div>
</form>
<form id="tableForm" method="post">
<@p.table value=list;orders,i,has_next><#rt/>
	<@p.column code="编号">${orders.num!}</@p.column><#t/>
	<@p.column code="用户名称">${orders.name!}</@p.column><#t/>
	<@p.column code="用户电话">${orders.mobile!}</@p.column><#t/>
	<@p.column code="用户消费汇总">${(orders.sale_money_count)!""}</@p.column><#t/>
	<@p.column code="用户积分汇总">${(orders.score_count)!""}</@p.column><#t/>
	<@p.column code="转介绍人">${(orders.zhuanName)!}</@p.column><#t/>
	<@p.column code="转介绍人电话">${(orders.zhuanMobile)!}</@p.column><#t/>
	<@p.column code="转介绍人积分汇总">${(orders.score_count1)!}</@p.column><#t/>
</@p.table>
</form>
</div>
<#include "/common/alert_message.html"/>
</body>
</html>